package com.lhy.vo;

/**
 * @Author：罗昊宇
 * @Package：com.lhy.vo
 * @Project：springboot03
 * @name：EmpVo
 * @Date：2024/3/12 0012  11:22
 * @Filename：EmpVo
 */
public class EmpVo {
    private String name;
    private String deptName;


    public EmpVo() {
    }

    public EmpVo(String name, String deptName) {
        this.name = name;
        this.deptName = deptName;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return deptName
     */
    public String getDeptName() {
        return deptName;
    }

    /**
     * 设置
     * @param deptName
     */
    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String toString() {
        return "EmpVo{name = " + name + ", deptName = " + deptName + "}";
    }
}
